#ifndef D_MAT4F_H
#define D_MAT4F_H

namespace d_Math
{

class d_Mat4f
{
public:
	d_Mat4f();
	void make_diag();
	void make_diag(float value);
	void make_hrot(const d_Vec3f &axis, float theta);
	void make_hrot(const d_Vec4f &q);
	void ref(float *tmp);
	d_Vec4f operator * (d_Vec4f v);
	d_Mat4f operator * (d_Mat4f m);
	float &operator () (int ir, int ic); 
	float operator () (int ir, int ic) const; 
	float p[4][4];
	void print();
};

}

#endif
